package org.zfes.snowier.zbss.xzy.device;

import java.io.Serializable;

public class DeviceDto  implements Serializable{

	 

		/**
		 * 
		 */
	  private static final long serialVersionUID = 1L;
	  

		@javax.validation.constraints.NotNull(message="默认所属租户不能为空")
		  private java.lang.Long tenantId;
		
		@javax.validation.constraints.NotBlank(message="序列号不能为空")
		@javax.validation.constraints.NotNull(message="序列号不能为空")
		@org.hibernate.validator.constraints.Length(min=0,max=80,message="序列号长度不能大于80")
		  private java.lang.String deviceNum;
		  private java.lang.Long deviceTypeId;
		  private java.lang.Long deviceModelId;
		@org.hibernate.validator.constraints.Length(min=0,max=20,message="ip地址长度不能大于20")
		  private java.lang.String ipAds;
		@org.hibernate.validator.constraints.Length(min=0,max=80,message="MAC地址长度不能大于80")
		  private java.lang.String macAds;
		@org.hibernate.validator.constraints.Length(min=0,max=100,message="默认名称长度不能大于100")
		  private java.lang.String name;
		@org.hibernate.validator.constraints.Length(min=0,max=100,message="备注长度不能大于100")
		  private java.lang.String remark;
		 @javax.validation.constraints.Digits(integer=3,fraction=7,message="经度数据精度错误")  
		 private java.lang.Double locLat;
		 @javax.validation.constraints.Digits(integer=3,fraction=7,message="纬度数据精度错误")  
		 private java.lang.Double locLon;
		@org.hibernate.validator.constraints.Length(min=0,max=200,message="位置描述长度不能大于200")
		  private java.lang.String location;
		  private java.lang.Byte status;
		  private java.util.Date createTime;
		  private java.util.Date updateTime;
	 
		  private java.lang.String  deviceTypeName;
		  private java.lang.Long deviceModelName;
		public java.lang.Long getTenantId() {
			return tenantId;
		}
		public void setTenantId(java.lang.Long tenantId) {
			this.tenantId = tenantId;
		}
		public java.lang.String getDeviceNum() {
			return deviceNum;
		}
		public void setDeviceNum(java.lang.String deviceNum) {
			this.deviceNum = deviceNum;
		}
		public java.lang.Long getDeviceTypeId() {
			return deviceTypeId;
		}
		public void setDeviceTypeId(java.lang.Long deviceTypeId) {
			this.deviceTypeId = deviceTypeId;
		}
		public java.lang.Long getDeviceModelId() {
			return deviceModelId;
		}
		public void setDeviceModelId(java.lang.Long deviceModelId) {
			this.deviceModelId = deviceModelId;
		}
		public java.lang.String getIpAds() {
			return ipAds;
		}
		public void setIpAds(java.lang.String ipAds) {
			this.ipAds = ipAds;
		}
		public java.lang.String getMacAds() {
			return macAds;
		}
		public void setMacAds(java.lang.String macAds) {
			this.macAds = macAds;
		}
		public java.lang.String getName() {
			return name;
		}
		public void setName(java.lang.String name) {
			this.name = name;
		}
		public java.lang.String getRemark() {
			return remark;
		}
		public void setRemark(java.lang.String remark) {
			this.remark = remark;
		}
		public java.lang.Double getLocLat() {
			return locLat;
		}
		public void setLocLat(java.lang.Double locLat) {
			this.locLat = locLat;
		}
		public java.lang.Double getLocLon() {
			return locLon;
		}
		public void setLocLon(java.lang.Double locLon) {
			this.locLon = locLon;
		}
		public java.lang.String getLocation() {
			return location;
		}
		public void setLocation(java.lang.String location) {
			this.location = location;
		}
		public java.lang.Byte getStatus() {
			return status;
		}
		public void setStatus(java.lang.Byte status) {
			this.status = status;
		}
		public java.util.Date getCreateTime() {
			return createTime;
		}
		public void setCreateTime(java.util.Date createTime) {
			this.createTime = createTime;
		}
		public java.util.Date getUpdateTime() {
			return updateTime;
		}
		public void setUpdateTime(java.util.Date updateTime) {
			this.updateTime = updateTime;
		}
		public java.lang.String getDeviceTypeName() {
			return deviceTypeName;
		}
		public void setDeviceTypeName(java.lang.String deviceTypeName) {
			this.deviceTypeName = deviceTypeName;
		}
		public java.lang.Long getDeviceModelName() {
			return deviceModelName;
		}
		public void setDeviceModelName(java.lang.Long deviceModelName) {
			this.deviceModelName = deviceModelName;
		}
		@Override
		public String toString() {
			return "DeviceDto [tenantId=" + tenantId + ", deviceNum=" + deviceNum + ", deviceTypeId=" + deviceTypeId
					+ ", deviceModelId=" + deviceModelId + ", ipAds=" + ipAds + ", macAds=" + macAds + ", name=" + name
					+ ", remark=" + remark + ", locLat=" + locLat + ", locLon=" + locLon + ", location=" + location
					+ ", status=" + status + ", createTime=" + createTime + ", updateTime=" + updateTime
					+ ", deviceTypeName=" + deviceTypeName + ", deviceModelName=" + deviceModelName + "]";
		}
	
	 
}
